<p class="note">Fields with <span class="required">*</span> are required.</p>

<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'first_name'); ?>
<?php echo $form->textField($model,'first_name',array('size'=>60,'maxlength'=>100)); ?>
<?php echo $form->error($model,'first_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'last_name'); ?>
<?php echo $form->textField($model,'last_name',array('size'=>60,'maxlength'=>100)); ?>
<?php echo $form->error($model,'last_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'middle_name'); ?>
<?php echo $form->textField($model,'middle_name',array('size'=>60,'maxlength'=>100)); ?>
<?php echo $form->error($model,'middle_name'); ?>
	</div>

	<div class="row">
			</div>

	<div class="row">
			</div>

	<div class="row">
		<?php echo $form->labelEx($model,'avatar_small'); ?>
<?php echo $form->textField($model,'avatar_small',array('size'=>60,'maxlength'=>255)); ?>
<?php echo $form->error($model,'avatar_small'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'avatar_big'); ?>
<?php echo $form->textField($model,'avatar_big',array('size'=>60,'maxlength'=>255)); ?>
<?php echo $form->error($model,'avatar_big'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'about'); ?>
<?php echo $form->textArea($model,'about',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'about'); ?>
	</div>


<label for="Rating">Belonging Rating</label><?php 
					$this->widget('application.components.Relation', array(
							'model' => $model,
							'relation' => 'rating',
							'fields' => 'num',
							'allowEmpty' => true,
							'style' => 'dropdownlist',
							)
						); ?>
			<label for="Category">Belonging Category</label><?php 
					$this->widget('application.components.Relation', array(
							'model' => $model,
							'relation' => 'category',
							'fields' => 'name',
							'allowEmpty' => false,
							'style' => 'dropdownlist',
							)
						); ?>
			